package com.javasm.mb_store_api_final.giftsandgoods.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.javasm.mb_store_api_final.giftsandgoods.product.entity.GgProduct;
import org.apache.ibatis.annotations.Select;

import javax.annotation.Resource;

/**
 * 商品管理-产品查询
(GgProduct)表数据库访问层
 *
 * @author makejava
 * @since 2024-08-01 21:03:32
 */
public interface GgProductDao extends BaseMapper<GgProduct> {
    @Select("select * from gg_product where coding=#{gcode}")
    GgProduct getByCoding(String gcode);
}

